Part Number Hot Search : 
W2010 SX01DN VTP7210 BD910 MC33262P M54HC221 00BZXI MK23H2
Product Description
Full Text Search
 

To Download MAX20317 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  general description the MAX20317 is an i 2 c controllable, universal 3.5mm? accessory management ic. the device provides a universal jack interface solution, as well as a compact solution for the power management and interface control of a powered accessory, such as an active noise cancelling (anc) headset. the MAX20317 automatically measures headset impedance with a high precision, triple current source 8 bit adc. after impedance detection, the device also detects when a headset is in a ctia or omtp configuration and automatically configures the sleeve and ring2 terminals to correctly connect the microphone and ground lines. when a boost supply is applied, the MAX20317 can detect the presence of an anc headset. when the anc headset is detected and enabled, a button-press monitoring circuit activates and flags button presses by detecting the voltage drop across a sense resistor. the MAX20317 provides a power line communication tool to a headset to exchange the data with the host device. the MAX20317 has the two separate ground sense inputs from the sleeve and ring2 terminals of the connector to provide a high ground isolation to the audio codec. the MAX20317 is available in a space-saving, 20-bump, 0.4mm pitch, 1.65mm x 2.05mm wafer-level package (wlp) and operates over the -40c to +85c extended temperature range. applications benefts and features allows wide range of applications by supporting universal 3.5mm jack types ? auto-confguration for ctia and omtp headsets ? supports mems microphone ? 50m? ground switch enables long utilization of accessories by supplying power through 3.5mm jack ? powered accessory/headset detection ? bypass switch to power accessories such as anc headsets ? programmable button detection in powered accessory mode empowers new path in data communication to accessories ? power line communication by 3.5mm jack ? bidirectional digital data communication in power mode ? allow emergence of new accessory types provides comfortable sounds by introducing automatic volume adjustment ? adaptive volume control based on precision headset impedance ? false insertion detection saves board space with small form factor ? 1.65mm x 2.05mm 4 x 5 array 20 bump 0.4mm pitch wlp ordering information appears at end of data sheet. 19-100037; rev 0; 5/17 smart phones phablet tablet pcs notebook pcs typical application circuit ring 2 _sr ring2_sl sleeve_sr sleeve_sl ring2 sleeve g_snsl g_snsr gnd dgnd v cc scl left mic vcc 1f 6.8 mic1 mic1-bias r-g l-g r-a l-a codec +5v v boost rsen 1f detin det right gnd MAX20317 int sda vio application processor scl sda mic_out MAX20317 universal 3.5mm? accessory management ic
all voltages are referred to gnd unless otherwise noted v cc , scl, sda, int ............................................... -0.3v to +6v v boost , rsen ..................................................... -0.3v to +12v mic_out .................................................... -0.3v to v cc + 0.3v detin ............................................................. -3v to v cc + 0.3v sleeve, sleeve_sl, sleeve_sr, ring2, ring2_sl, ring2_sr .......................... -0.3v to +6v g_snsl, g_snsr .............................................. -0.3v to +0.3v continuous current into v boost , rsen, mic_out, ring2, sleeve ....................................... 200ma continuous current into any other terminal ................. 100ma continuous power dissipation (multilayer board) (derate 18.02mw/c above +70c) ....................... 1441.6mw operating temperature range ........................... -40c to +85c junction temperature ...................................................... +150c storage temperature range ............................ -65c to +150c soldering temperature (reflow) ...................................... +260c wlp junction-to-ambient thermal resistance, four layer board ( ja ) .......................................... 55.49c/w (note 1) (v cc = +3.0v to +5.5v, v boost = 0v to +5.5v, t a = -40c to +85c, unless otherwise noted. typical values are at v cc = +3.5v, t a = +25c.) (note 2) note 1: package thermal resistances were obtained using the method described in jedec specification jesd51-7, using a four-layer board. for detailed information on package thermal considerations, refer to www.maximintegrated.com/thermal-tutorial . absolute maximum ratings stresses beyond those listed under absolute maximum ratings may cause permanent damage to the device. these are stress ratings only, and functional operation of the device at these or any other conditions beyond those indicated in the operational sections of the specifications is not implied. exposure to ab solute maximum rating conditions for extended periods may affect device reliability. package thermal characteristics electrical characteristics parameter symbol conditions min typ max units v cc supply voltage range v cc 3 5.5 v v cc por v ccpor 0.9 1.7 2.45 v v cc supply current i vcc v cc = +3.5v, detin = 1 2 5 a bypass (0x08[2]) = 0, detin = 0 10 15 v cc = +3.5v, bypass (0x08[2]) = 1, detin = 0, i vboost = 30ma 0.1 0.2 ma bypass supply voltage range v boost 5.5 v detin detin pullup current i detin_pu 4.5 a detin detection threshold 1/3 x v cc 1/2 x v cc 2/3 x v cc v detin current source i detin set_idet (0x0b[5:4]) = 01 95 100 105 a set_idet (0x0b[5:4]) = 10 1.05 1.1 1.15 ma set_idet (0x0b[5:4]) = 11 5.25 5.5 5.75 maxim integrated 2 MAX20317 universal 3.5mm? accessory management ic www.maximintegrated.com
(v cc = +3.0v to +5.5v, v boost = 0v to +5.5v, t a = -40c to +85c, unless otherwise noted. typical values are at v cc = +3.5v, t a = +25c.) (note 2) electrical characteristics (continued) parameter symbol conditions min typ max units bypass switch output shutdown r sen drop v sh v boost = 5.0v 1.28 1.36 1.44 v bypass switch r on r bypass v cc = 4.2v, v boost = 5.0v, i bypass = 150ma 1 1.5 off isolation to sleeve v rsen = 5v 50mv, f = 20hz to 20khz -90 db sleeve, ring2 (gnd mux switch) ground mux switch r on r gmp v cc = 3.5v 50 85 m ground mux switch bandwidth r source = r load = 50? 300 mhz ground switch psrr psrr gndsw v cc = 3.5v, r source = 50?, f = 217hz -96 db ground bypass switch thd 100mv pk-pk , dc bias = 0v, f = 20hz to 20khz, r source = r load = 50? 0.002 % sleeve, ring2 (mic mux switch) mic switch turn-on time 5 s mic switch turn-off time 4 s mic switch r on r mic v cc = 3.5v, i = 10ma 1 2 ? mic switch bandwidth r source = r load = 50? 25 mhz mic switch psrr v cc = 3.5v, r source = 50?, f = 217hz -90 db mic switch isolation -90 db v boost , rsen (anc detection) anc headset detection accuracy using 6.8? external sense for anc detection, range from 1.5 to 5ma (adc2_hl(0x0b[2])) = 1. thresholds i 2 c programmable by hsdet_val -3 +3 % button press current measurement accuracy using 6.8? external sense, range from 5ma to 200ma (adc2_hl(0x0b[2])) = 0. thresholds i 2 c programmable by hsdet_val -3 +3 % anc button detection interrupt falling edge threshold v com_det com_thrs[1:0](0x08[1:0]) = 00 87 88 89 %v boost com_thrs[1:0] (0x08[1:0]) = 01 89 90 91 %v boost com_thrs[1:0] (0x08[1:0]) = 10 91 92 93 %v boost com_thrs[1:0] (0x08[1:0]) = 11 93 94 95 %v boost boost ovp ovlo threshold v boost_ovlo v boost slew rate 1v/s 5.6 5.75 5.94 v maxim integrated 3 MAX20317 universal 3.5mm? accessory management ic www.maximintegrated.com
(v cc = +3.0v to +5.5v, v boost = 0v to +5.5v, t a = -40c to +85c, unless otherwise noted. typical values are at v cc = +3.5v, t a = +25c.) (note 2) electrical characteristics (continued) parameter symbol conditions min typ max units ground sense switch (g_snsr/g_snsl) g_sns switch turn-on time 50 s g_sns switch turn-off time 3 s g_sns switch r on i load = 10ma 0.8 1.5 g_sns switch bandwidth r source = r load = 50, c load = 10pf 300 mhz g_sns switch psrr v cc = 3.3v, r source = r load = 50, f = 217hz, v in = 3.3v 0.1v -90 db g_sns switch cross talk v cc = 3.3v, r source = r load = 50, f = 20hz to 20khz, v mic = 150mv -90 db digital signals (sda, scl, int ) input logic-high v ih 1.4 v input logic-low v il 0.4 v input leakage current -1 1 a output logic-high leakage current (open-drain) i oh_lkg v io = 5v 1 a output logic-low v ol i sink = 4ma 0.4 v power line communication plc logic-high v boost = 5v, low is v rsense below v com_det v com_det v plc logic-low v boost = 5v, high is v rsense above v com_det v com_det v time unit t unit i 2 c programmable (24/30s) inferred from 1s clock 24/30 s tx logic 0 t txlogic0 90 110 % t unit tx logic 1 t txlogic1 period for low and high 40 60 % t unit rx logic 0 t rxlogic0 85 115 % t unit rx logic 1 t rxlogic1 period for low and high 35 65 % t unit plc tx current sink i plc plc_sink (0x18[6]) = 0 90 100 110 ma plc_sink(0x18[6]) = 1 70 80 90 ma maxim integrated 4 MAX20317 universal 3.5mm? accessory management ic www.maximintegrated.com
(v cc = +3.0v to +5.5v, v boost = 0v to +5.5v, t a = -40c to +85c, unless otherwise noted. typical values are at v cc = +3.5v, t a = +25c.) (note 2) note 2: all devices are 100% production tested at t a = +25c. limits over the operating temperature range are guaranteed by design. electrical characteristics (continued) parameter symbol conditions min typ max units dynamic detin debounce time t dideb detin falling edge, det_debounce (0x08[6]) = 0 115 ms detin falling edge, det_debounce (0x08[6]) = 1 300 send/end debounce time t sedeb i 2 c selectable: 20/30/40/50ms 30 ms i detin rise time t idetinr rising 50 ms i detin fall time t idetinf falling 50 ms i 2 c timing i 2 c serial clock frequency f scl 400 khz esd protection detin human body model 15 kv sleeve, ring2, sleeve_sr, sleeve_ sl, ring2_sr, ring2_ sl human body model 10 kv all other pins human body model 2 kv thermal protection thermal shutdown t shdn low to high 130 c thermal hysteresis t hyst high to low 20 c maxim integrated 5 MAX20317 universal 3.5mm? accessory management ic www.maximintegrated.com
(v cc = +3.5v, r sen = 6.8, t a = +25c unless otherwise noted.) typical operating characteristics 2.75 2.76 2.77 2.78 2.79 2.80 2.81 2.82 2.83 2.84 2.85 3.0 3.5 4.0 4.5 5.0 5.5 sleeve output voltage (v) supply voltage (v) sleeve output voltage vs. supply voltage toc04 v mic_out = 2.8v, ctia i sleeve = 0ma i sleeve = 1ma i sleeve = 4ma 0 1 2 3 4 5 6 0 50 100 150 200 output voltage (v) load current (ma) bypass switch output voltage vs. load current toc05 v cc = 5v, v boost = 5v, ctia 0 1 2 3 4 5 6 0 50 100 150 200 output voltage (v) load current (ma) bypass switch output voltage vs. load current toc06 with 6.8 v cc = 5v, v boost = 5v, ctia 0 1 2 3 4 5 6 7 8 3.0 3.5 4.0 4.5 5.0 5.5 supply current (a) supply voltage (v) supply current vs. supply voltage toc01 detin high v boost = 5v v boost = 0v 0 2 4 6 8 10 12 14 16 3.0 3.5 4.0 4.5 5.0 5.5 supply current (a) supply voltage (v) supply current vs. supply voltage toc02 detin low, bypass = 0 v mic_out = 2.8v, v boost = 0v 0 20 40 60 80 100 120 140 160 180 200 3.0 3.5 4.0 4.5 5.0 5.5 supply current (a) supply voltage (v) supply current vs. supply voltage toc03 detin low, bypass = 1 v mic_out = 2.8v, v boost = 5v 0.0 0.2 0.4 0.6 0.8 1.0 1.2 1.4 3.0 3.5 4.0 4.5 5.0 5.5 normalized on resistance supply voltage (v) bypass switch normalized on - resistance vs. supply voltage toc07 v boost = 5v, i load = 150ma normalized to v cc = 4.5v, t a = +25oc t a = +85oc t a = +25oc t a = - 40oc -120 -100 -80 -60 -40 -20 0 20 200 2000 20000 200000 2000000 magnitude (db) frequency (hz) bypass switch off - isolation to sleeve toc08 maxim integrated 6 MAX20317 universal 3.5mm? accessory management ic www.maximintegrated.com
(v cc = +3.5v, r sen = 6.8, t a = +25c unless otherwise noted.) typical operating characteristics (continued) 0.0 0.2 0.4 0.6 0.8 1.0 1.2 1.4 3.0 3.5 4.0 4.5 5.0 5.5 normalized on - resistance supply voltage (v) mic mux normalized on - resistance vs. supply voltage toc12 t a = +85oc t a = +25oc t a = - 40oc v in = 3v, i load = 100ma, ctia normalized to v cc = 4.5v, t a = +25oc 0.0 0.2 0.4 0.6 0.8 1.0 1.2 1.4 3.0 3.5 4.0 4.5 5.0 5.5 normalized on - resistance supply voltage (v) mic mux normalized on - resistance vs. supply voltage toc13 t a = +85oc t a = +25oc t a = - 40oc v in = 3v, i load = 100ma, omtp normalized to v cc = 4.5v, t a = +25oc 0.0 0.2 0.4 0.6 0.8 1.0 1.2 1.4 3.0 3.5 4.0 4.5 5.0 5.5 normalized on - resistance supply voltage (v) gnd mux normalized on - resistance vs. supply voltage toc14 t a = +85oc t a = +25oc t a = - 40oc ctia, normalized to v cc = 4.5v, t a = +25oc -120 -100 -80 -60 -40 -20 0 20 200 2000 20000 200000 2000000 magnitude (db) frequency (hz) bypass switch off - isolation to ring2 toc09 -120 -100 -80 -60 -40 -20 0 10 100 1000 10000 100000 magnitude (db) frequency (hz) mic mux psrr vs. frequency toc10 ctia -120 -100 -80 -60 -40 -20 0 10 100 1000 10000 100000 magnitude (db) frequency (hz) mic mux psrr vs. frequency toc11 omtp 0.0 0.2 0.4 0.6 0.8 1.0 1.2 1.4 3.0 3.5 4.0 4.5 5.0 5.5 normalized on - resistance supply voltage (v) gnd mux normalized on - resistance vs. supply voltage toc15 t a = +85oc t a = +25oc t a = - 40oc omtp, normalized to v cc = 4.5v, t a = +25oc -140 -120 -100 -80 -60 -40 -20 0 10 100 1000 10000 100000 magnitude (db) frequency (hz) gnd mux psrr vs. frequency toc16 maxim integrated 7 MAX20317 universal 3.5mm? accessory management ic www.maximintegrated.com
(v cc = +3.5v, r sen = 6.8, t a = +25c unless otherwise noted.) typical operating characteristics (continued) 0.0 0.2 0.4 0.6 0.8 1.0 1.2 1.4 1.6 1.8 3.0 3.5 4.0 4.5 5.0 5.5 normalized on - resistance supply voltage (v) gnd sense normalized on - resistance vs. supply voltage toc17 t a = +85oc t a = +25oc t a = - 40oc v in = 0.2v, i load = 10ma, ctia normalized to v cc = 4.5v, t a = +25oc -120 -100 -80 -60 -40 -20 0 0.02 0.2 2 20 200 2000 20000 200000 magnitude (db) frequency (khz) bandwidth bandwidth, off - isolation, crosstalk of sleeve/ring2 mic switch toc20 off - isolation crosstalk 0.0 0.2 0.4 0.6 0.8 1.0 1.2 1.4 1.6 1.8 3.0 3.5 4.0 4.5 5.0 5.5 normalized on - resistance supply voltage (v) gnd sense normalized on - resistance vs. supply voltage toc18 t a = +85oc t a = +25oc t a = - 40oc v in = 0.2v, i load = 10ma, omtp normalized to v cc = 4.5v, t a = +25oc -120 -100 -80 -60 -40 -20 0 0.02 0.2 2 20 200 2000 20000 200000 magnitude (db) frequency (khz) bandwidth bandwidth, off - isolation, crosstalk of ground sense switch toc21 off - isolation crosstalk -90 -80 -70 -60 -50 -40 -30 -20 -10 0 10 100 1000 10000 100000 magnitude (db) frequency (hz) gnd sense psrr vs. frequency toc19 1v/div toc22 200ms/div v detin detin debounce timing 5v/div v int ctia 32 1v/div toc23 200ms/div v detin detin debounce timing v int 5v/div omtp 32 1v/div toc24 200ms/div v detin detin debounce timing v int 5v/div ctia 220 maxim integrated 8 MAX20317 universal 3.5mm? accessory management ic www.maximintegrated.com
(v cc = +3.5v, r sen = 6.8, t a = +25c unless otherwise noted.) typical operating characteristics (continued) 1v/div toc25 200ms/div v detin detin debounce timing v int 5v/div ctia 1k 2v/div toc26 100s/div v sleeve sleeve waveform bypass from 0 to 1 v scl 5v/div 0v ctia, v boost = 5v mic_out 2.2k pull up to 2.8v 2v/div toc27 100s/div v sleeve sleeve waveform bypass from 1 to 0 v scl 5v/div 0v ctia, v boost = 5v mic_out 2.2k pull up to 2.8v 1v/div toc30 200s/div v sleeve plc communication (sleeve) rx 0v MAX20317 receive 1v/div toc28 4s/div v sleeve sleeve discharge time ctia, detin 0 to 1 mic_out 2.2k pull up to 2.8v 5v/div v detin 1v/div toc31 200s/div v sleeve plc communication (sleeve) tx 0v MAX20317 transmit 5v/div toc29 100s/div v sleeve v boost ovp v boost 5v/div 0v 0v bypass on, r sen = 6.8 universal 3.5mm? accessory management ic maxim integrated 9 MAX20317 www.maximintegrated.com
bump confguration bump descriptions top view (bump side down) a b c d wlp (2.05mm x 1.65mm) 1 + detin sleeve v boost rsen v cc 2 3 4 5 gnd ring2 gnd gnd dgnd g_snsl mic_ out sda g_snsr scl ring2 _sl sleeve _sl ring2 _sr sleeve _sr int MAX20317 bump name function a1 sleeve jack sleeve pin contact a2 detin jack insertion detection input. an internal comparator monitors detin for jack insertion/ removal events. a3 rsen rsen connection for bypass mode a4 v boost supply voltage input for bypass mode. bypass v boost to ground with a 1f ceramic capacitor as close as possible to the device. a5 v cc supply voltage input. bypass v cc to ground with a 1f decoupling capacitor as close as possible to the device. maxim integrated 10 MAX20317 universal 3.5mm? accessory management ic www.maximintegrated.com
bump descriptions (continued) bump name function b1 ring2 jack ring2 pin connection b2, b3, b4 gnd ground. connect all gnd and dgnd pins together. b5 dgnd digital ground. connect all gnd and dgnd pins together. c1 mic_out microphone to phone codec output c2 g_snsl left ground reference sense. g_snsl is a ground reference prior to the ground switch to obtain a high ground isolation for the audio codec. c3 g_snsr right ground reference sense. g_snsl is a ground reference prior to the ground switch to obtain a high ground isolation for the audio codec. c4 sda i 2 c data line c5 scl i 2 c clock d1 sleeve_sl jack sleeve kelvin pin contact for left audio line d2 ring2_sl jack ring2 kelvin pin contact for left audio line d3 sleeve_sr jack sleeve kelvin pin contact for right audio line d4 ring2_sr jack ring2 kelvin pin contact for right audio line d5 int i 2 c active-low, open-drain interrupt output. connect int to an external pullup resistor. maxim integrated 11 MAX20317 universal 3.5mm? accessory management ic www.maximintegrated.com
block diagram high psrr internal supply i 2 c plc plc debounce jack control mic _ out sleeve ring 2 gnd sleeve _ sl ring 2 _ sl ring 2 _ sr g _ snsl g _ snsr adc 2 adc 1 0 . 5 v cc v cc detin v idetin i plc com _ thrs [ 1 : 0 ] x v boost sda v rsen v boost v sys v + 5 v 6 . 8 ? v cc denotes omtp configuration denotes ctia configuration mic _ sw gnd _ sw bypass _ sw anc button detection anc detection v bst _ ft v bst _ ft ( = 1 ms ) v mic 1 f 1 f scl int dgnd sleeve _ sr gain control v rsen v boost rsen max 20317 maxim integrated 12 MAX20317 universal 3.5mm? accessory management ic www.maximintegrated.com
detailed description the MAX20317 supports both ctia and omtp headsets. the advanced method used to detect the headset type provides error free connections to ground and the microphone line. manual control allows for future expansion of accessory types and functions. in addition to detecting the jack configuration, the MAX20317 also reliably detects anc headsets and head - set button press events. a built-in, low offset 8-bit adc provides a precise method of detecting an anc headset and button presses in anc music mode. these functions are handled automatically by the device, but can also be controlled manually. for both anc and normal headsets, the MAX20317 measures the impedance of the speaker. high precision current sources and an 8-bit adc permit high accuracy sensing of low impedance headsets, even distinguishing between 16? and 32? speakers. this is useful in dynamic volume scaling applications. the MAX20317 features power-line communication (plc) for accessories powered by the microphone line. data transmits above audio frequencies to prevent interference with the audio signal to the headset. this permits accessories to communicate with the device while a system is in music mode. after the startup process is complete and the device_ ready bit (0x03[2]) is set, the MAX20317 enters normal operation. during this stage, an external controller and codec can confirm the jack type, either 3p or 4p, to enable or disable a mic bias, detect the presence of an anc headset, and communicate with accessories or use the headset microphone. the full system flowchart is shown in figure 1 , while figure 2 details the jack detection process when a headset is connected. impedance detection when the MAX20317 detects the presence of a headset, it can measure the headset impedance. detin applies a current, i detin , to the left channel of the 3.5mm jack and reads the resulting dc voltage with adc1. this measurement occurs automatically when det goes low after a detin debounce period or triggers manually upon receipt of an i 2 c command while det = 0. the start condition is set with adc_ctrl[1:0] (0x0a[3:2]). automatic impedance measurements begin when a head - set insertion event forces det low. the mic and gnd switches close in a ctia configuration. if the open_ detect bit (0x09[4]) is high, i detin is set to 100a for a high-impedance measurement. if the voltage measured by adc1 is less than the value saved in hihs_val (register 0x0e), or if open_detect is low, a low impedance measurement is performed with i detin = 1.1ma. if the voltage is still too low, the low-impedance measurement is repeated with i detin = 5.5ma. this automatic process is illustrated in figure 3 . alternatively, the MAX20317 can measure impedance only upon receipt of an i 2 c command. setting adc1_ ctrl[1:0] to 01 or 10 causes the impedance measurement to trigger when force_adc1_start (0x0b[1]) goes high. the i detin value for manual impedance measurements is set by set_idet[1:0] (0x0b[5:4]). after an automatic measurement, set_idet[1:0] equals the last i detin value used in the impedance check, but it can be forced to any value for manual tests. maxim integrated 13 MAX20317 universal 3.5mm? accessory management ic www.maximintegrated.com
figure 1. full operation of the MAX20317 det = 0 ? no accessory run automatic jack configuration ? automatic jack detection see figure 2 mic bias off device = 3 p headset jack removal det = 1 ? anc check ? anc headset detected ? device = 4 p headset mic bias on key detection check anc mic bypass off apply + 5 v to vboost boost bypass on adc 2 read call mode ? key press ? com _ det = 1 anc call mode bypass off mic bias on anc music mode vconn bypass on data transfer to accessory anc mode mic bypass = auto vboost bypass on ad 2 enable button det mode jack removal det _ i = 1 ? no jack removal det = 1 ? jack removal det = 1 ? read adc 2 for send / end , volume up , and volume down reset 3 p mode 4 p mode anc mode yes send det interrupt start no yes no apply mic bias check mpss = 1 or external 3 p check yes yes no no yes yes yes no yes yes no no yes no no yes maxim integrated 14 MAX20317 universal 3.5mm? accessory management ic www.maximintegrated.com
figure 2. automatic jack detection figure 3. adc1 automatic impedance detection start adc 1 automatic impedance detection jack _ typ _ chk _ dis check impedance for omtp ? mic / gnd switch = omtp repeat adc 1 impedance detection i detin = 100 a or 1 . 1 ma headset impedance lower than threshold ? device ready mic / gnd mux can be configured manualy no yes no yes yes no mic / gnd mux = ctia report open if set _ idet = 1 and open _ cable = 1 open_detect = 1? set_idet[1:0] = 01 i detin = 100a run impedance detection adc1 > hihs_val[7:0] adc1_li_chk = 1? run low impedance dection (1.1ma first, 5.5ma if below threshold) end start no yes yes no no yes maxim integrated 15 MAX20317 universal 3.5mm? accessory management ic www.maximintegrated.com
ctia/omtp detection the impedance measurement process is also used to identify a jack as ctia or omtp. when jack_ typ_chk_dis = 0 (0x0a[6]), ctia/omtp detection begins after an automatic impedance measurement. this second measurement keeps the last value of i detin , either 100a or 1.1ma, and measures the l-channel impedance with the mic and gnd mux switches closed in omtp mode. if the voltage measured by adc1 is less than the threshold defined in omtp_val (register 0x0f) when testing a low-impedance headset, or hihs_val for high-impedance headsets, the mic and gnd mux switches remain configured for omtp. otherwise, the switches connect in the ctia configuration. automatic jack detection is disabled when adc1 is controlled manually or when jack_typ_chk_dis = 1 and the mic and gnd switches must be set by force_mg_sw[1:0] (0x09[1:0]) and manual_mg_sw (0x09[5]). open cable check if open_detect = 1 (0x09[4], the MAX20317 performs an open cable check after determining the jack type. if a high-impedance measurement exceeds the hihs_val threshold, the cable is considered open and the open_ cable flag (0x03[4]) is set. this feature helps ensure that a there is a clean connection to a real headset when det goes low after the detin debounce period. anc headset detection the MAX20317 identifies anc headsets by measuring the current drawn through an external resistor connected to rsen. if there is +5v present on v boost , an automatic measurement launches when the bypass switch closes. an internal, high-gain differential amplifier measures the current through the sense resistor and is read by adc2. if the current is higher than hsdet_val (register 0x10), the headset is considered to be anc and the anc_hs bit (0x05[7]) is set. anc headset detection is only compatible with ctia headsets. anc current sense the MAX20317 automatically detects anc button presses while in bypass mode through the current sense resis - tor. when a button is pressed, the microphone voltage drops, triggering a com_det interrupt. this also triggers an automatic adc2 conversion. the adc2 conversion continues as long as the microphone voltage is below the com_det threshold set by com_thrs[1:0] (0x08[1:0]). pop-up noise suppression in order to prevent any pop-up noise, sleeve and ring2 are discharged immediately after a headset is unplugged. microphone short protection overcurrent protection on rsen protects the MAX20317 from drawing too much current through the sense resistor. when the voltage drop across the sense resistor exceeds v sh for longer than the time set in tsho_deb[1:0] (0x0d[1:0]), the mpss bit (0x04[4]) is set and triggers an interrupt. the MAX20317 exits bypass mode and resets bypass to 0. the device also exits bypass mode if an overvoltage condition occurs on v boost . power line communication a one-wire accessory power-line-communication protocol (plc) enables communication between a master device and a single accessory device over the microphone power line. the protocol allows the master to configure, control, and read the status of the attached accessory. when the accessory is powered, power line communication takes place over the microphone using biphase mark code (bmc). the plc can be implemented on any single power line between two devices. error checking, including parity and checksum, is included in the protocol to validate all data transferred between devices. the protocol is defined by a physical layer, which describes the physical communication protocol, and the logical layer that includes high-level commands and handshakes. figure 4 and figure 5 show the process of sending and receiving plc data, respectively. the MAX20317 supports physical data transfer between the master device and slave acces - sory. the meaning of the data contained in each individual accessory must be defined by the manufacturer of the master device. sleeve and ring2 ground sense because audio systems require high levels of isolation between audio channels, the MAX20317 incorporates separate ground sense connections for sleeve and ring2. these ground sense contacts provide channel isolation with a kelvin contact, especially when an emc filter is included between the 3.5mm jack and the MAX20317. individual left- and right-channel ground sense outputs provide separate return paths for sleeve and ring2. i 2 c interface the MAX20317 uses the two-wire i 2 c interface to communicate with a host application processor. the configuration settings and status information provided through this interface are detailed in the register descrip - tions ( tables 2 C 31 ). MAX20317 uses the seven-bit slave address 0b0010101 (0x2a for writes, 0x2b for reads). maxim integrated 16 MAX20317 universal 3.5mm? accessory management ic www.maximintegrated.com
figure 4. plc tx process start send_cmd = 1? start preamble transmitting postamble? no no yes send data button or incoming data conflict? no button or incoming data conflict? no abort transimssion report tx failure clear send_cmd tx end button or incoming data conflict? end of postamble? transmission stopped tx successful clear send_cmd tx end no yes no yes yes maxim integrated 17 MAX20317 universal 3.5mm? accessory management ic www.maximintegrated.com
figure 5. plc rx process bypass mode ? set plc _ rx _ det = 1 data corrupted ? no no yes keep receiving data preamble detected ? no postamble detected ? no new _ data = 1 rx end rx error start yes maxim integrated 18 MAX20317 universal 3.5mm? accessory management ic www.maximintegrated.com
applications information i 2 c serial interface the i 2 c serial interface is used to configure the device. figure 6 shows the i 2 c timing diagram. serial addressing when in i 2 c mode, the device operates as a slave device that sends and receives data through an i 2 c- compatible 2-wire interface. the interface uses a seri - al data line (sda) and a serial-clock line (scl) to achieve bidirectional communication between master(s) and slave(s). a master (typically a microcontroller) initi - ates all data transfers to and from the MAX20317 and generates the scl clock that synchronizes the data transfer. the sda line operates as both an input and an open drain output. a pullup resistor is required on sda. the scl line operates only as an input. a pullup resistor is required on scl if there are multiple masters on the 2-wire interface, or if the master in a single-master system has an open drain scl output. each transmission consists of a start condition sent by a master, followed by the MAX20317 7-bit slave address plus r/w bit, a register address byte, one or more data bytes, and finally a stop condition. start and stop conditions both scl and sda remain high when the interface is not busy. a master signals the beginning of a transmission with a start (s) condition by transitioning sda from high to low while scl is high ( figure 7 ). when the master has finished communicating with the slave, it issues a stop (p) condition by transitioning sda from low to high while scl is high. the bus is then free for another transmission. figure 6. i 2 c timing diagram figure 7. start and stop conditions scl note: timing is referenced to v il(max) and v ih(min) . sda stop start repeated start spike suppression t buf t hd:sta t hd:dat t su:dat t su:sto t hd:sta t sp t su:sta t high t r t f t low sda scl start condition stop condition s p maxim integrated 19 MAX20317 universal 3.5mm? accessory management ic www.maximintegrated.com
bit transfer one data bit is transferred during each clock pulse ( figure 8 ). the data on sda must remain stable while scl is high. acknowledge the acknowledge bit is a clocked 9th bit ( figure 9 ), which the recipient uses to handshake receipt of each byte of data. thus, each byte transferred effectively requires 9 bits. the master generates the 9th clock pulse, and the recipient pulls down sda during the acknowledge clock pulse. the sda line is stable low during the high period of the clock pulse. when the master is transmitting to the MAX20317, it generates the acknowledge bit because the device is the recipient. when the device is transmitting to the master, the master generates the acknowledge bit because the master is the recipient. if the device does not pull sda low, a not acknowledge is indicated. slave address the device has a 7-bit slave address. the bit following a 7-bit slave address is the r/ w bit, which is low for a write command and high for a read command. the slave address for the device is 0b00101011 for read commands and 0b00101010 for write commands. this is summarized in table 1 . table 1. i 2 c slave addresses figure 8. bit transfer figure 9. acknowledge address format value hex binary 7-bit slave address 0x15 001 0101 write address 0x2a 0010 1010 read address 0x2b 0010 1011 sda scl data line stable; data valid change of data allowed scl sda by transmitter clock pulse for acknowledge start condition sda by receiver 1 2 8 9 s maxim integrated 20 MAX20317 universal 3.5mm? accessory management ic www.maximintegrated.com
bus reset the MAX20317 resets the bus with the i 2 c start condition for reads. when the r/ w bit is set to 1, the MAX20317 transmits data to the master, thus the master is reading from the device. format for writing a write to the MAX20317 comprises the transmission of the slave address with the r/ w bit set to zero, followed by at least 1 byte of information. the first byte of information is the register address or command byte. the register address determines which register of the device is to be written by the next byte, if received. if a stop (p) condition is detected after the register address is received, then the device takes no further action beyond storing the register address. any bytes received after the register address are data bytes. the first data byte goes into the register selected by the register address and subsequent data bytes go into subsequent registers ( figure 10 ). if multiple data bytes are transmitted before a stop condition, these bytes are stored in subsequent registers because the register addresses auto-increments ( figure 11 ). format for reading the MAX20317 is read using the internally stored register address as an address pointer, the same way the stored register address is used as an address pointer for a write. the pointer auto-increments after each data byte is read using the same rules as for a write. thus, a read is initiated by first configuring the register address by performing a write ( figure 12 ). the master can now read consecutive bytes from the device, with the first data byte being read from the register addressed pointed by the previously written register address ( figure 13 ). once the master sends a nack, the MAX20317 stop sending valid data. figure 10. format for i 2 c write figure 11. format for writing to multiple registers 0 0 1 0 0 1 1 address = 0x2a register 0x01 write data s d7 d6 d5 d4 d2 d1 d3 0 = write 0 0 0 0 0 0 1 0 register address = 0x01 0 a a p d0 a s = start bit p = stop bit a = ack n = nack d_ = data bit 0 0 1 0 0 1 1 address = 0x2a register 0x01 write data s 0 = write 0 0 0 0 0 0 1 0 register address = 0x01 0 a a d7 d6 d5 d4 d2 d1 d0 d3 a register 0x02 write data d7 d6 d5 d4 d2 d1 d3 d0 a/n p maxim integrated 21 MAX20317 universal 3.5mm? accessory management ic www.maximintegrated.com
figure 13. format for reading multiple registers figure 12. format for reads (repeated start) 0 0 1 0 0 1 0 1 address = 0x2a 0 0 0 0 0 0 1 0 register 0x01 read data s 0 0 1 0 0 1 1 1 address = 0x2b sr d7 d6 d5 d4 d2 d1 d0 d3 register address = 0x01 0 = write 1 = read a a a/n a register 0x03 read data d7 d6 d5 d4 d2 d1 d0 d3 p a/n register 0x02 read data d7 d6 d5 d4 d2 d1 d0 d3 a 0 0 1 0 0 1 0 1 address = 0x2a 0 0 0 0 0 0 1 0 register 0x01 read data s 0 0 1 0 0 1 1 1 address = 0x2b sr d7 d6 d5 d4 d2 d1 d0 d3 p register address = 0x01 0 = write 1 = read a a a/n a/n maxim integrated 22 MAX20317 universal 3.5mm? accessory management ic www.maximintegrated.com
power line communication physical structure in biphase mark code, high and low bits are defined by state transitions. in the MAX20317, the plc code com - prises a time unit and the low and high states of the mic line. the time unit, t unit defines the interval of time in which a bit is determined to be either 0 or 1. by default, t unit = 24s, but setting the freq bit (0x18[4]) high increases t unit to 30s. a bit is considered 0 if no mic state transition occurs during t unit . if there is a state change, either high to low or low to high, the bit is 1. when the mic line is above the v com_det threshold, a low state is recorded. conversely, a high state is recorded when the mic line is below the v com_det threshold. for example, mic line transitions and their corresponding logic values and bmc bits are shown in figure 14 . transmission format a valid plc packet comprises a preamble, two data bytes, checksum, and postamble. the preamble is eight consecutive 1 bits. after a successful preamble, data transfer takes place until an error condition occurs or the end of transmission is reached. each byte of data begins with a 0 bit to indicate the start condition followed by one byte of data. a parity and stop bit are transmitted at the end of each byte. the stop bit is always 1. if parity is disabled, a parity bit of 1 will be sent, but ignored by the device. following the data bytes, a checksum is transmitted. the checksum is generated as not(data1 + data2). transmission will end with the checksum unless the postam - ble is enabled. the postamble transmits 0 for a duration of 50ms. a typical data packet is shown in figure 15 . figure 14. determination of plc data bit figure 15. sample plc data packet v cc v com _ det gnd 1 0 1 0 0 voltage time digitized value bmc hi lo hi lo hi lo hi mic line 1 0 1 0 1 1 0 0 preamble: 8 bits of 1 0 data2 check sum 1 1 postamble: 2000 bits of 0 start parity stop data1 maxim integrated 23 MAX20317 universal 3.5mm? accessory management ic www.maximintegrated.com
i 2 c register map address name r/w b7 b6 b5 b4 b3 b2 b1 b0 0x00 device_id r chip_id[3:0] chip_rev[3:0] 0x01 adc1_val r adc1_val[7:0] 0x02 adc2_val r adc2_val[7:0] 0x03 status1 r idet_lvl[1:0] com_det open_ cable jack_ type device_ rdy eoc1 eoc2 0x04 status2 r vol_up vol_ down vboost_ ov mpss mic_in swd det detin 0x05 status3 r anc_hs tht_cmp sar_cmp v94_cmp C C C vol_rfu 0x06 irq r/c swdi eoci com_deti mps/ vboost_ ovi mic_ini device_ rdyi deti detini 0x07 mask r/w swdm eocm com_ detm mps/ vboost_ ovm mic_inm device_ rdym detm detinm 0x08 control1 r/w C det_ debounce detin_ override mic_out_ delay C bypass com_thrs[1:0] 0x09 control2 r/w manual_ g_sns manual_ mic_sw manual_ mg_sw open_ detect force_ g_sns force_ mic_sw force_mg_sw[1:0] 0x0a adc_ control1 r/w idet_flat jack_typ_ chk_dis C adc1_ li_chk adc1_ctl[1:0] adc2_ctl[1:0] 0x0b adc_ control2 r/w C C set_idet[1:0] C adc2_hl force_ adc1_ start force_ adc2_ start 0x0c timing control r/w adc1_avg#[1:0] adc2_avg#[1:0] tancdet_deb[1:0] tancbpd_deb[1:0] maxim integrated 24 MAX20317 universal 3.5mm? accessory management ic www.maximintegrated.com
i 2 c register map (continued) address name r/w b7 b6 b5 b4 b3 b2 b1 b0 0x0d short current control r/w fu[5:0] tsho_deb[1:0] 0x0e hihs_val r/w hihs_val[7:0] 0x0f omtp_val r/w omtp_val[7:0] 0x10 hsdet_val r/w hsdet_val[7:0] 0x11 vol0_th r/w vol0[7:0] 0x12 vol1_th r/w vol1[7:0] 0x13 vol2_th r/w vol2[7:0] 0x14 vol3_th r/w vol3[7:0] 0x15 plc_stat r C C plc_ tx_err plc_ tx_ok plc_txp plc_ rx_err new_data plc_ rx_det 0x16 plc_irq r/c C C plc_ tx_erri plc_ tx_oki plc_txpi plc_ rx_erri new_datai plc_ rx_deti 0x17 plc_mask r/w C C plc_ tx_errm plc_ tx_okm plc_txpm plc_ rx_errm new_ datam plc_ rx_detm 0x18 plc_con1 r/w C plc_sink pos_ am_dis freq parity[1:0] C send_ cmd 0x19 acc_id r acc_id[3:0] acc_cat[3:0] 0x1a acc_db1 r acc_db1[7:0] 0x1b acc_db2 r acc_db2[7:0] 0x1c acc_add r/w acc_add[7:0] 0x1d acc_data r/w acc_dat[7:0] maxim integrated 25 MAX20317 universal 3.5mm? accessory management ic www.maximintegrated.com
table 2. device_id register (0x00) table 3. adc1_val register (0x01) table 4. adc2_val register (0x02) address 0x00 mode read only bit 7 6 5 4 3 2 1 0 name chip_id[3:0] chip_rev[3:0] reset 0 0 0 1 0 0 0 0 chip_id [3:0] chip id shows information about the version of MAX20317 chip_rev [3:0] chip revision shows information about the revision of MAX20317 address 0x01 mode read only bit 7 6 5 4 3 2 1 0 name adc1_val[7:0] reset 0 0 0 0 0 0 0 0 adc1_val [7:0] adc1 value read only register for the latest adc1 conversion (8-bit resolution) address 0x02 mode read only bit 7 6 5 4 3 2 1 0 name adc2_val[7:0] reset 0 0 0 0 0 0 0 0 adc2_val [7:0] adc2 value read only register for the latest adc2 conversion (8-bit resolution) maxim integrated 26 MAX20317 universal 3.5mm? accessory management ic www.maximintegrated.com
table 5. status1 register (0x03) address 0x03 mode read only bit 7 6 5 4 3 2 1 0 name idet_lvl[1:0] com_det open_ cable jack_ type device_ rdy eoc1 eoc2 reset 0 0 0 0 0 0 0 0 idet_lvl [1:0] i detin level shows the last i detin current level used in an adc1 impedance detection 00 = no jack insertion default 01 = 100a 10 = 1.1ma 11 = 5.5ma com_det communication request status indicates a valid button press when mic_in drops below the threshold set by com_thrs[1:0] 0 = no communication is requested. 1 = mic voltage is below threshold after the debounce time. open_ cable open cable detected indicates if a cable is an open connection 0 = cable is not open 1 = high impedance is detected for both ctia and omtp, and set_idet[1:0] = 01. jack_ type jack type shows the jack type identifed by automatic jack detection. this feature is disabled if jack_typ_chk_dis = 1. 0x0b). 0 = ctia (l-r-g-m) 1 = omtp (l-r-m-g) device_ rdy device ready indicates the device is ready for manual control after jack detection is complete. this bit is set after impedance detection if jack_typ_chk_dis = 1. 0 = mic/gnd switch position has not been fnalized. 1 = mic/gnd sw position is set. device is ready. eoc1 end of adc1 conversion 0 = adc1 conversion is not started or is in progress. 1 = adc1 conversion is complete and the result is available in adc1_val (register 0x01). eoc2 end of adc2 conversion 0 = adc2 conversion is not started or is in progress. 1 = adc2 conversion is complete and the result is available in adc2_val (register 0x02). maxim integrated 27 MAX20317 universal 3.5mm? accessory management ic www.maximintegrated.com
table 6. status2 register (0x04) address 0x04 mode read only bit 7 6 5 4 3 2 1 0 name vol_up vol_dwn vboost_ ov mpss mic_in swd det detin reset 0 0 0 0 0 0 0 0 vol_up volume up status indicates a volume up press was detected in bypass mode. adc2 cleared if bypass switch is open or vmic > com_thrs[1:0]. updated in bypass mode with low gain. 0 = no volume up press detected. not (vol1_th < adc2 < vol2_th) 1 = volume up press detected vol1_th < adc2 < vol2_th vol_ dwn indicates a volume down press was detected in bypass mode. vol2_th < adc2 < vol3_th cleared if bypass switch is open or vmic > com_thrs[1:0]. updated in bypass mode with low gain. updated in bypass mode with low gain. 0 = no volume down pressed. not (vol2_th < adc2 < vol3_th) 1 = volume down pressed. vol2_th < adc2 < vol3_th vboost_ ov v boost bypass mode overvoltage status 0 = v boost operating normally 1 = overvoltage detected on v boost in bypass mode mpss rsen overcurrent status 0 = current protection is not detected. 1 = current protection is triggered. mic_in mic_in switch status 0 = mic_in switch is open 1 = mic_in switch is closed swd send/end status indicates a send/end press was detected in bypass mode. vol0_th< adc2 com_thrs[1:0]. updated in bypass mode with low gain. 0 = no send/end press detected. not(vol0_th< adc2 MAX20317 universal 3.5mm? accessory management ic www.maximintegrated.com
table 7. status3 register (0x05) address 0x05 mode read only bit 7 6 5 4 3 2 1 0 name anc_hs tht_cmp sar_cmp v94_cmp rfu[2:0] vol_rfu reset 0 0 0 0 0 0 0 0 anc_hs anc headset detection 0 = no anc headset detected. vrsen < hsdet_val[7:0] 1 = anc headset detected. vrsen > hsdet_val[7:0] tht_cmp thermal comparator status output of the analog thermal comparator sar_cmp sar comparator status output of the analog sar comparator v94_cmp v94 comparator status output of the com_thrs comparator. rfu[2:0] reserved for future use vol_rfu button press reserved for future use only. cleared if bypass is open or vmic > com_thrs[1:0]. updated in byp ass mode, adc2 value (vrsen) with low gain. 0 = no rfu button pressed. not (vol3_th < adc2) 1 = rfu button pressed. vol3_th < adc2 maxim integrated 29 MAX20317 universal 3.5mm? accessory management ic www.maximintegrated.com
table 8. irq register (0x06) address 0x06 mode clear on read bit 7 6 5 4 3 2 1 0 name swdi eoci com_deti mps/ vboost_ ovi mic_ini device_ rdyi deti detini reset 0 0 0 0 0 0 0 0 swdi send/end button press detection interrupt 0 = interrupt not occurred 1 = interrupt occurred (both edges of swd) eoci end of adc1/2 conversion interrupt 0 = interrupt not occurred 1 = interrupt occurred (only the rising edge of either eoc1 or eoc2) com_deti communication request interrupt (button press) in bypass mode 0 = interrupt not occurred 1 = interrupt occurred (both edges of com_det, that is button pressed or released) mps/ vboost_ ovi microphone line short or vboost overvoltage interrupt 0 = interrupt not occurred 1 = interrupt occurred (only rising edge of either mps or vboost_ov) mic_ini mic_in switch open or close interrupt 0 = interrupt not occurred 1 = interrupt occurred (both edges of mic_in) device_ rdyi device_rdy mic/gnd switch position fnalized interrupt 0 = interrupt not occurred 1 = interrupt occurred (only rising edge of device_ready) deti jack insertion and removal detection interrupt 0 = interrupt not occurred 1 = interrupt occurred (both edges of debounced detin) detini detin detection interrupt 0 = interrupt not occurred 1 = interrupt occurred maxim integrated 30 MAX20317 universal 3.5mm? accessory management ic www.maximintegrated.com
table 9. mask register (0x07) address 0x07 mode read/write bit 7 6 5 4 3 2 1 0 name swdm eocm com_ detm mps/ vboost_ ovm mic_inm device_ rdym detm detinm reset 0 0 0 0 0 0 0 0 swdm send/end button press detection interrupt mask 0 = masked 1 = not masked eocm end of adc conversion interrupt mask 0 = masked 1 = not masked com_ detm communication request interrupt mask 0 = masked 1 = not masked mps/ vboost_ ovm microphone line short/vboost_ov interrupt mask 0 = masked 1 = not masked micinm mic_in switch interrupt mask 0 = masked 1 = not masked device_ rdym device ready interrupt mask 0 = masked 1 = not masked detm jack insertion detection interrupt mask 0 = masked 1 = not masked detinm detin detection interrupt mask 0 = masked 1 = not masked maxim integrated 31 MAX20317 universal 3.5mm? accessory management ic www.maximintegrated.com
table 10. control1 register (0x08) address 0x08 mode read/write bit 7 6 5 4 3 2 1 0 name rfu det_ debounce detin_ override mic_out delay rfu bypass com_thrs[1:0] reset 0 0** 0** 1** 0 0 0** 1** rfu reserved for future use det_ debounce det debounce time 0 = 115ms, 1 = 300ms detin_ override detin override 0 = no effect 1 = simulates a jack insertion. mic_out_ delay mic_out output delay control 0 = mic sw close output follows after det becomes low 1 = mic sw close delayed until impedance detection after det becomes low rfu reserved for future use bypass bypass mode enable 0 = bypass is off 1 = bypass is on com_ thrs[1:0] com (button press) detection threshold 00 = 88% 01 = 90% 10 = 92% 11 = 94% maxim integrated 32 MAX20317 universal 3.5mm? accessory management ic www.maximintegrated.com
table 11. control2 register (0x09) address 0x09 mode read/write bit 7 6 5 4 3 2 1 0 name manual_ g_sns manual_ mic_sw manual_ mg_sw open_ detect force_ g_sns force_ mic_sw force_mg_sw [1:0] reset 0 0 0 1 0 0 0 0 manual_ g_sns manual g_sns switch setting 0 = g_sns operates normally in synch mic/ground switch 1 = g_sns follows force_g_sns bit manual_ mic_sw manual mic_in switch setting 0 = mic_sw operates normally 1 = mic_sw follows force_mic_sw bit manual_ mg_sw manual mg switch setting 0 = mg _sw operates normally 1 = mg _sw follows force_ mg _sw bit open_ detect when high, enables the frst automatic impedance detection at 100ua. force_ g_sns force_g_sns switch control (effective only when manual_g_sns = 1) 0 = close ring2 to g_sns pin 1 = close sleeve to g_sns pin force_ mic_sw force mic_in switch control (effective only when manual_mic_sw = 1) 0 = mic_sw closed 1 = mic_sw open force_ mg_ sw [1:0] force mic/gnd switch control (effective only when manual_mg_sw = 1) 00 = switches closed in ctia position 01 = both mic-side switches open, ground connection in ctia position 10 = switches closed in omtp position 11 = both mic-side switches open, ground connection in omtp position maxim integrated 33 MAX20317 universal 3.5mm? accessory management ic www.maximintegrated.com
table 12. adc control1 register (0x0a) address 0x0a mode read/write bit 7 6 5 4 3 2 1 0 name idet_ flat jack_typ _chk_dis rfu adc1_li _chk adc1_ctl [1:0] adc2_ctl [1:0] reset 0** 0** 0 1 1 1 1 1 idet_flat flat top period of the idet for adc conversion (otp programmable) 0 = 10msec 1 = 100msec jack_ typ_chk_ dis ctia/omtp jack type detection disable (otp programmable) 0 = automatic jack type detection 1 = disabled. rfu reserved for future use adc1_ li_chk adc1 low impedance check 0 = disable the 1.1ma/5.5ma impedance detection if adc1 < hihs_val 1 = enable the 1.1ma/5.5ma impedance detection if adc1 < hihs_val adc1_ctl [1:0] adc1 conversion control 00 = impedance detection and a-d conversion are always off. 01 = impedance detection is manual and one conversion when forced. 10 = impedance detection is manual and multiple (adc1_avg#) conversions and averaged. 11 = adc follows fsm. (after det = 0 transition) adc2_ctl [1:0] adc2 conversion control 00 = impedance detection and a-d conversion are always off. 01 = impedance detection is manual and one conversion when forced. 10 = impedance detection is manual and multiple ( adc2_avg#) conversions and averaged. 11 = adc2 follows fsm. if com_det = 0, set adc2_hl_set = 1, adc2 one averaged conversion after tanc_det from bypass on =1. adc2_hl_set = 0, while com_det = 1, adc2 conversion continuous. maxim integrated 34 MAX20317 universal 3.5mm? accessory management ic www.maximintegrated.com
table 13. adc2 control register (0x0b) address 0x0b mode read/write bit 7 6 5 4 3 2 1 0 name rfu set_idet[1:0] rfu adc2_hl force_ adc1_ start force_ adc2_ start reset 0 0 0 0 0 0 0 0 rfu reserved for future use set_idet [1:0] set i detin set the i detin current level in manual adc1 mode. this should be used with force_adc1_start 00 = do not use 01 = 100a 10 = 1.1ma 11 = 5.5ma rfu reserved for future use adc2_hl adc2 anc headset detection method selection. 0 = anc comparator low gain; used for anc button detection 1 = anc comparator high gain; used for anc hs detection force_ adc1_ start force adc1 start execute a manual adc1 measurement when adc1_ctl[1:0] = 01 or 10 0 = adc1 operates normally 1 = adc1 start (only one conversion). end of conversion set the eoc status set. force_ adc2_ start force adc2 start execute a manual adc2 measurement when adc2_ctl[1:0] = 01 or 10 0 = adc2 operates normally 1 = adc2 start (only one conversion). end of conversion set the eoc status set. maxim integrated 35 MAX20317 universal 3.5mm? accessory management ic www.maximintegrated.com
table 14. register (0x0c) table 15. short current control register (0x0d) address 0x0c mode read/write bit 7 6 5 4 3 2 1 0 name adc1_avg# [1:0] adc2_avg# [1:0] tancdet_deb [1:0] tancbpd_deb [1:0] reset 0** 0** 0** 0** 0** 0** 0** 0** adc1_avg #[1:0] adc1 averaging number sets the number of samples to average when adc1_ctl[1:0] = 10 00 = 2 01 = 4 10 = 8 11 = 16 adc2_avg #[1:0] adc2 averaging number sets the number of samples to average when adc2_ctl[1:0] = 10 00 = 2 01 = 4 10 = 8 11 = 16 tancdet_ deb [1:0] anc headset detection debounce time 00 = 20ms 01 = 30ms 10 = 50ms 11 = 100ms tancbpd_ deb [1:0] anc button press detection debounce time 00 = 20ms 01 = 30ms 10 = 50ms 11 = 100ms address 0x0d mode read/write bit 7 6 5 4 3 2 1 0 name fu[5:0] tsho_deb[1:0] reset 0** 0** 0** 0** 0** 0** 0** fu [5:0] factory use only. do not overwrite tsho_deb [1:0] short circuit debounce sets the debounce time for short-circuit current protection 00 = 360s 01 = 600 s 10 = 1080 s 11 = 1920 s maxim integrated 36 MAX20317 universal 3.5mm? accessory management ic www.maximintegrated.com
table 16. hihs_val register (0x0e) table 17. omtp_val register (0x0f) table 18. hsdet_val register (0x10) table 19. vol0_th register (0x11) address 0x0e mode read/write bit 7 6 5 4 3 2 1 0 name hihs_val[7:0] reset 0 0 0 0 0 0 0 0 hihs_val [7:0] high impedance threshold for adc1 conversions. address 0x0f mode read/write bit 7 6 5 4 3 2 1 0 name omtp_val[7:0] reset 0 0 0 0 0 0 0 0 omtp_val [7:0] omtp headset detection threshold for adc1 conversion. address 0x10 mode read/write bit 7 6 5 4 3 2 1 0 name hsdet_val[7:0] reset 0 0 0 0 0 0 0 0 hsdet_ val[7:0] anc headset detection threshold for adc2 conversion when adc_hl_set = 1. if adc2>hsdet_val, then set anc_hs (0x05h bit7) = 1. address 0x11 mode read/write bit 7 6 5 4 3 2 1 0 name vol0_th[7:0] reset 0 0 0 0 0 0 0 0 vol0_th [7:0] headset button detection threshold in bypass mode for adc2 conversion. higher than or equal to this value and lower than vol1_th[7:0] means the send/end button is pressed. maxim integrated 37 MAX20317 universal 3.5mm? accessory management ic www.maximintegrated.com
table 20. vol1_th register (0x12) table 21. vol2_th register (0x13) table 22. vol3_th register (0x14) address 0x12 mode read/write bit 7 6 5 4 3 2 1 0 name vol1_th[7:0] reset 0 0 0 0 0 0 0 0 vol1_th [7:0] headset button detection threshold in bypass mode for adc2 conversion. higher than or equal to this value and lower than vol2_th means the v olume up button is pressed. address 0x13 mode read/write bit 7 6 5 4 3 2 1 0 name vol2_th[7:0] reset 0 0 0 0 0 0 0 0 vol2_th [7:0] headset button detection threshold in bypass mode for adc2 conversion. higher than or equal to this value and lower than vol3_th means the v olume down button is pressed. address 0x14 mode read/write bit 7 6 5 4 3 2 1 0 name vol3_th[7:0] reset 0 0 0 0 0 0 0 0 vol3_th [7:0] headset button detection threshold in bypass mode for adc2 conversion. higher than or equal to this value means the reserved button is pressed. maxim integrated 38 MAX20317 universal 3.5mm? accessory management ic www.maximintegrated.com
table 23. plc_stat: power line communication status register (0x15) address 0x15 mode read only bit 7 6 5 4 3 2 1 0 name rfu[1:0] plc_tx_ err plc_tx_ ok plc_tx_p plc_rx_ err new_ data plc_rx_ det reset 0 0 0 0 0 0 0 0 rfu[1:0] reserved for future use plc_tx_ err power line communication tx error cleared when a new send_cmd is issued. 0 = no tx error 1 = tx error plc_tx_ ok power line communication tx successful cleared when the new send_cmd issued. 0 = communication not successful 1 = communication successful plc_tx_p power line communication tx in progress 0 = not transmitting 1 = plc transmitting in progress plc_rx_ err power line communication rx error 0 = no error 1 = error (start bit, parity, checksum or stalled line). new_ data new data available indicates that new data is available. once acc_id/acc_db1/acc_db2 are read, it is cleared. 0 = no new data set 1 = new data set arrived plc_rx_ det power line communication receiving detection (only during preamble and data excluding post-amble) 0 = no plc (within 4-bit length of no or invalid signal) 1 = plc is ongoing (within 4-bit of preamble signal) maxim integrated 39 MAX20317 universal 3.5mm? accessory management ic www.maximintegrated.com
table 24. plc_irq: power line communication interrupt register (0x16) address 0x16 mode read only bit 7 6 5 4 3 2 1 0 name rfu[1:0] plc_tx_ erri plc_tx_ oki plc_tx_pi plc_rx_ erri new_ datai plc_rx_ deti reset 0 0 0 0 0 0 0 0 rfu[1:0] reserved for future use plc_tx_ erri power line communication tx error interrupt 0 = interrupt not occurred 1 = interrupt occurred (rising edge of plc_tx_err) plc_tx_ oki power line communication tx ok interrupt 0 = interrupt not occurred 1 = interrupt occurred (rising edge of plc_tx_ok) plc_tx_ pi power line communication tx in progress interrupt 0 = interrupt not occurred 1 = interrupt occurred (both edges of plc_tx_p) plc_rx_ erri power line communication rx error interrupt 0 = interrupt not occurred 1 = interrupt occurred (rising edge of plc_rx_err) new_ datai new data rx interrupt. 0 = interrupt not occurred 1 = interrupt occurred (rising edge of new_data) plc_rx_ deti power line communication rx detection interrupt 0 = interrupt not occurred 1 = interrupt occurred (both edges of plc_rx_det) maxim integrated 40 MAX20317 universal 3.5mm? accessory management ic www.maximintegrated.com
table 25. plc_mask: power line communication mask register (0x17) address 0x17 mode read/write bit 7 6 5 4 3 2 1 0 name rfu[1:0] plc_tx_ errm plc_tx_ okm plc_tx_ pm plc_rx_ errm new_ datam plc_rx_ detm reset 0 0 0 0 0 0 0 0 rfu[1:0] reserved for future use plc_tx_ errm plc tx error interrupt mask. 0 = masked 1 = not masked plc_tx_ okm plc tx successful interrupt mask. 0 = masked 1 = not masked plc_tx_ pm plc tx in progress interrupt mask. 0 = masked 1 = not masked plc_rx_ errm plc_rx_err mask 0 = masked 1 = not masked new_ datam new data interrupt mask. 0 = masked 1 = not masked plc_rx_ detm power line communication receiving detection interrupt mask. 0 = masked 1 = not masked maxim integrated 41 MAX20317 universal 3.5mm? accessory management ic www.maximintegrated.com
table 26. plc_con1: power line communication control register (0x18) table 27. accessory id register (0x19) address 0x18 mode read/write bit 7 6 5 4 3 2 1 0 name rfu plc_sink post_ am_dis freq parity[1:0] rfu send_ cmd reset 0 0 0 0 0 1 0 0 rfu reserved for future use plc_sink plc current sink selection 0 = 100ma 1 = 80ma post_ am_dis transmit post-amble disable 0 = post-amble enabled. the transmitter sends 2000 low bits. the receiver expects at least 16 low bits as a proper post-amble. 1 = post-amble disabled freq communication time unit 0 = 24sec 1 = 30sec parity [1:0] parity bit 00/11 = no parity. a high parity bit is transmitted, but is ignored by the receiver. 01 = odd 10 = even rfu reserved for future use send_ cmd send command send the address (acc_add) and data (acc_data) bytes to the slave. clears on completion of data transmission. 0 = no action 1 = transfer the data address 0x19 mode read only bit 7 6 5 4 3 2 1 0 name acc_id[3:0] acc_cat[3:0] reset 0 0 0 0 0 0 0 0 acc_id [3:0] accessory id upper four bits of the frst valid transmission. four bit id of the connected accessory . acc_cat [3:0] accessory category lower four bits of the frst valid transmission. accessory category or revision information. maxim integrated 42 MAX20317 universal 3.5mm? accessory management ic www.maximintegrated.com
table 28. acc_data1 receive register (0x1a) table 29. acc_data2 receive register (0x1b) table 30. acc_add transmit register (0x1c) table 31. acc_data transmit register (0x1d) **denotes a factory programmable value address 0x1a mode read only bit 7 6 5 4 3 2 1 0 name acc_data1[7:0] reset 0 0 0 0 0 0 0 0 acc_ data1[7:0] accessory data 1 first byte of raw data read from accessory address 0x1b mode read only bit 7 6 5 4 3 2 1 0 name acc_data2[7:0] reset 0 0 0 0 0 0 0 0 acc_ data2[7:0] accessory data 2 second byte of raw data read from accessory address 0x1c mode read/write bit 7 6 5 4 3 2 1 0 name acc_add[7:0] reset 0 0 0 0 0 0 0 0 acc_ add[7:0] accessory target address address 0x1d mode read/write bit 7 6 5 4 3 2 1 0 name acc_data[7:0] reset 0 0 0 0 0 0 0 0 acc_ data[7:0] accessory target data maxim integrated 43 MAX20317 universal 3.5mm? accessory management ic www.maximintegrated.com
application circuits gnd r-a l-a mic/pwr battery charger max16083 anc dsp vol up vol down send/ end 50 200 56 600 36 vcc gnd rst lmic la- la+ rmic ra- ra+ r-a l-a gnd pwr anc dsp anc headset ring2_sr ring2_sl sleeve_sr sleeve_sl ring2 sleeve g_snsl g_snsr gnd dgnd v cc scl left mic vcc 1f 6.8 mic1 mic1-bias r-g l-g r-a l-a codec +5v v boost rsen 1f detin det right gnd MAX20317 int sda vio ap scl sda mic_out maxim integrated 44 MAX20317 universal 3.5mm? accessory management ic www.maximintegrated.com
application circuits (continued) ring 2 _ sr ring 2 _ sl sleeve _ sr sleeve _ sl ring 2 sleeve g _ snsl g _ snsr gnd dgnd v cc scl left mic vcc 1 f 6 . 8 mic 1 mic 1 - bias r - g l - g r - a l - a codec + 5 v v boost rsen 1 f detin det right gnd max 20317 int sda vio ap scl sda mic _ out gnd r - a l - a mic / pwr max 16083 hr control block vol up vol down send / end 50 200 56 600 36 vcc gnd rst hr sensor gnd la + gnd ra + r - a l - a hr headset ldo mcu hr monitor maxim integrated 45 MAX20317 universal 3.5mm? accessory management ic www.maximintegrated.com
+denotes a lead(pb)-free/rohs-compliant package. t denotes tape-and-reel ordering information chip information process: bicmos package information for the latest package outline information and land patterns (footprints), go to www.maximintegrated.com/packages . note that a +, #, or - in the package code indicates rohs status only. package drawings may show a different suffix character, but the drawing pertains to the package regardless of rohs status. part temp range pin-package MAX20317ewp+ -40c to +85c 20 wlp MAX20317ewp+t -40c to +85c 20 wlp package type package code outline no. land pattern no. 20 wlp w201h2+1 21-100120 refer to application note 1891 maxim integrated 46 MAX20317 universal 3.5mm? accessory management ic www.maximintegrated.com
revision history revision number revision date description pages changed 0 5/17 initial release ? 2017 maxim integrated products, inc. 47 maxim integrated cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a maxim integrated product. no circuit patent licenses are implied. maxim integrated reserves the right to change the circuitry and specifcations without notice at any time. the parametric values (min and max limits) shown in the electrical characteristics table are guaranteed. other parametric values quoted in this data sheet are provided for guidance. maxim integrated and the maxim integrated logo are trademarks of maxim integrated products, inc. MAX20317 universal 3.5mm? accessory management ic for pricing, delivery, and ordering information, please contact maxim direct at 1-888-629-4642, or visit maxim integrateds website at www.maximintegrated.com.


▲Up To Search▲   

 
Price & Availability of MAX20317

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X